Sh.User.User = new Class({
	initialize : function (engine) {
		this.engine = engine;

		this.name  = 'anonymous';
		this.level = 0;
		this.path  = '/';

		this.greeting = new Sh.User.Greeting(this);
		this.input    = new Sh.User.Input(this);
		this.typing   = new Sh.User.Typing(this);
	},
	sendCommand : function (cmd) {
		new Sh.User.Execute(this)
			.run(cmd);
	},
	isRoot : function () {
		return this.level == 1;
	}
});